﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Common.Cache
{
    /// <summary>
    /// 缓存条目
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class JCacheEntry<T>
    {
        /// <summary>
        /// 缓存数据
        /// </summary>
        public T Data { get; set; }
        /// <summary>
        /// 过期时间
        /// </summary>
        public TimeSpan? Expiry { get; set; }
    }
}
